<?php
/**
 * @企业类
 * 1、企业列表
 * 2、企业详情
 */
namespace app\admin\controller;
use app\common\controller\HomeCommon;
use app\common\model\Label;
use think\Cache;
use think\Config;
use think\Controller;
use think\View;

class Index extends Controller
{
    public function __construct(){
        parent::__construct();
    }

    public function index()
    {
        $data['name'] = 'ThinkPHP';
        $data['email'] = 'thinkphp@qq.com';
        $this->view->assign('data',$data);
        return $this->fetch('index');
    }

    public function main()
    {
        $data['name'] = 'ThinkPHP';
        $data['email'] = 'thinkphp@qq.com';
        $this->view->assign('data',$data);
        return $this->fetch();
    }

    public function left()
    {
        $data['name'] = 'ThinkPHP';
        $data['email'] = 'thinkphp@qq.com';
        $this->view->assign('data',$data);
        return $this->fetch();
    }

    public function top()
    {
        $data['name'] = 'ThinkPHP';
        $data['email'] = 'thinkphp@qq.com';
        $this->view->assign('data',$data);
        return $this->fetch();
    }
    public function bottom()
    {
        $data['name'] = 'ThinkPHP';
        $data['email'] = 'thinkphp@qq.com';
        $this->view->assign('data',$data);
        return $this->fetch();
    }

    public function swich()
    {
        $data['name'] = 'ThinkPHP';
        $data['email'] = 'thinkphp@qq.com';
        $this->view->assign('data',$data);
        return $this->fetch();
    }
}
